package org.itboys.fuzion.mysql.service;

import org.itboys.fuzion.mysql.dao.PublicRowRecordMapper;
import org.itboys.fuzion.mysql.orm.PublicRowRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 记录抽奖池中  已被抽过奖的记录
 * @author weisky
 *
 * 2016年4月24日
 */
@Service
public class PublicRowRecordService {

	@Autowired
	private PublicRowRecordMapper publicRowRecordMapper;
	
	public void delete(Long id){
		publicRowRecordMapper.delete(id);
    }

	//@Transactional
	public void insert(PublicRowRecord record){
		publicRowRecordMapper.insert(record);
	}
}
